﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/Main.Master" CodeBehind="SalesOrderStatistics.aspx.cs" Inherits="com.huigo.Admin.Web.order.SalesOrderStatistics" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <link type="text/css" href="/css/thickbox.css" rel="stylesheet" />

    <script type="text/javascript" src="/js/thickbox.js"></script>
    <script type="text/javascript" src="/date/date.js"></script>
    <!--[if IE]><script type="text/javascript" src="/date/jquery.bgiframe.js"></script><![endif]-->
    <script type="text/javascript" src="/date/jquery.datePicker.js"></script>

    <link rel="stylesheet" type="text/css" href="/date/datePicker.css" />
    
    <script type="text/javascript">
        Date.firstDayOfWeek = 0;
        Date.format = 'yyyy-mm-dd';
        $(function() {
            $('.date-pick').datePicker({ clickInput: true, createButton: false, startDate: "2009-01-01", endDate: new Date().addDays(180).asString() });
        });
    </script>
    <script type="text/javascript">
        $(function() {
            $("tbody tr").click(function() {
                OnSelect($(this));
            });
        });
    </script>
    <div id="wrapper">
        <div class="content">
            <div class="infowrap">
                <div class="infobox">
                    <h3>
                        <span>查询条件</span>
                    </h3>
                    <form id="Form1" runat="server">
                    <p class="youhave">
                    销售员&nbsp;&nbsp;<asp:DropDownList ID="userName" runat="server"></asp:DropDownList>&nbsp;&nbsp;
                    产品名称&nbsp;&nbsp;<asp:DropDownList ID="productName" runat="server"></asp:DropDownList>&nbsp;&nbsp;
                        统计时间&nbsp;&nbsp;<asp:TextBox ID="fromDate" runat="server" class="date-pick" Columns="10"></asp:TextBox>&nbsp;-&nbsp;<asp:TextBox
                            ID="toDate" name="toDate" runat="server" class="date-pick" Columns="10"></asp:TextBox>&nbsp;&nbsp;&nbsp;&nbsp;
                            <asp:CheckBox ID="isProduct" runat="server" Text="按产品分" />&nbsp;&nbsp;&nbsp;&nbsp;<asp:Button
                                ID="btnQuery" runat="server" Text="查询" OnClick="btnQuery_Click" />
                    </p>
                    </form>
                </div>
            </div>
            <div class="infowrap">
                <div class="normalbox" style="width: 40%">
                    <h3>
                        订单统计列表</h3>
                    <asp:Literal runat="server" ID="litSettlement"></asp:Literal>
                </div>
                <div class="normalbox margin-left" style="width: 58%; display: none;" id="loading_img">
                </div>
            </div>
        </div>
    </div>
</asp:Content>
